package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 服务网络表
 * </p>
 *
 * @author LX
 * @since 2018-09-13
 */
@TableName("erp_service_web")
public class ErpServiceWeb extends Model<ErpServiceWeb> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("service_type")
    private String serviceType;
    @TableField("company_name")
    private String companyName;
    @TableField("company_address")
    private String companyAddress;
    @TableField("company_phone")
    private String companyPhone;
    private String evaluation;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public String getCompanyPhone() {
        return companyPhone;
    }

    public void setCompanyPhone(String companyPhone) {
        this.companyPhone = companyPhone;
    }

    public String getEvaluation() {
        return evaluation;
    }

    public void setEvaluation(String evaluation) {
        this.evaluation = evaluation;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpServiceWeb{" +
        ", id=" + id +
        ", serviceType=" + serviceType +
        ", companyName=" + companyName +
        ", companyAddress=" + companyAddress +
        ", companyPhone=" + companyPhone +
        ", evaluation=" + evaluation +
        "}";
    }
}
